package com.lala.consumer.service;


import com.lala.commom.pojo.User;
import com.lala.consumer.client.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserClient userClient;


    @Override
    public User selectLoginname(String loginName) {
        return userClient.selectLoginname(loginName);
    }

    @Override
    public int insert(User user) {
        return userClient.zhuce(user);
    }

}
